package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Spec;
import entity.Result;

public interface SpecService extends IService<Spec> {
    Result<Object> findPage(Integer page, Integer size);

    Result<Object> findById(Integer id);

    Result<Object> updateSpecById(Spec spec);

    Result<Object> deleteSpecById(Integer id);

    Result<Object> addSpec(Spec spec);
}
